package com.sgcc.sx.pmos.e_sx_personalcenter.bean;

import android.text.TextUtils;

public class EstimatePowerChangeBean {


    private String msg;
    private int code;
    private DataDTO data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        private String energySettlementTemp;//最新结算电量
        private String energyHisTemp;//上年月均电量

        public String getEnergySettlementTemp() {
            return TextUtils.isEmpty(energySettlementTemp) ? "0" : energySettlementTemp;
        }

        public void setEnergySettlementTemp(String energySettlementTemp) {
            this.energySettlementTemp = energySettlementTemp;
        }

        public String getEnergyHisTemp() {
            return TextUtils.isEmpty(energyHisTemp) ? "0" : energyHisTemp;
        }

        public void setEnergyHisTemp(String energyHisTemp) {
            this.energyHisTemp = energyHisTemp;
        }
    }
}
